package com.tencreat.mapper.mall;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import com.tencreat.domain.mall.MallPraise;

/**
 * 点赞记录Mapper接口
 *
 * @author tencreat
 * @company: 深圳腾创互联科技有限公司
 * @link: https://tencreat.com
 * @date 2022-12-29
 */
public interface MallPraiseMapper extends BaseMapper<MallPraise> {

    /**
     * 分页查询
     * @param iPage 分页参数
     * @param mallPraise 查询条件
     * @return 分页结果
     */
    IPage<MallPraise> page(IPage<MallPraise> iPage, @Param("param")MallPraise mallPraise);

    Integer deletePraise(MallPraise mallPraise);
}
